package com.moonshineproject.plugin
{
	import flash.events.Event;

	public class PluginEvent extends Event
	{

		public static const PLUGIN_ACTIVATED:String = "pluginActivated";
		public static const PLUGIN_DEACTIVATED:String = "pluginDeactivated";

		private var _plugin:IPlugin

		public function PluginEvent(type:String, pluging:IPlugin)

		{
			super(type, false, false);
			_plugin = plugin;


		}

		public function get plugin():IPlugin
		{
			return _plugin;
		}
	}
}